﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public class StatusReportInfo
    {
        private int m_ID;
        private int m_MsgReference;
        private string m_Receiver;
        private DateTime m_OriginSendTime;
        private DateTime m_ArrivedTime;
        private int m_CommPort;

        /// <summary>
        /// 标识列
        /// </summary>
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        /// <summary>
        /// 发送完短信后，产生该短信的编号，在需要状态报告时，通过此项可与状态报告建立对应关系
        /// </summary>
        public int MsgReference
        {
            get { return m_MsgReference; }
            set { m_MsgReference = value; }
        }

        /// <summary>
        /// 接收者的手机号
        /// </summary>
        public string Receiver
        {
            get { return m_Receiver; }
            set { m_Receiver = value; }
        }

        /// <summary>
        /// 原始的发送时间
        /// </summary>
        public DateTime OriginSendTime
        {
            get { return m_OriginSendTime; }
            set { m_OriginSendTime = value; }
        }

        /// <summary>
        /// 对方的接收时间
        /// </summary>
        public DateTime ArrivedTime
        {
            get { return m_ArrivedTime; }
            set { m_ArrivedTime = value; }
        }

        /// <summary>
        /// 接收信息使用的串口号
        /// </summary>
        public int CommPort
        {
            get { return m_CommPort; }
            set { m_CommPort = value; }
        }
        
    }
}
